/**********************************************************************************
 *
 * Copyright (c) 2018 The Sakai Foundation
 *
 * Original developers:
 *
 *   EDF
 *
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.osedu.org/licenses/ECL-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 **********************************************************************************/

package org.sakaiproject.rubrics.api;

public interface RubricsConstants {

    public static final String RBCS_TOOL = "sakai.rubrics";
    public static final String RBCS_TOOL_ASSIGNMENT_GRADES = "sakai.assignment.grades";
    public static final String RBCS_TOOL_FORUMS = "sakai.forums";
    public static final String RBCS_TOOL_GRADEBOOKNG = "sakai.gradebookng";
    public static final String RBCS_TOOL_SAMIGO = "sakai.samigo";
    public static final String RBCS_TOOL_LESSONBUILDERTOOL = "sakai.lessonbuildertool";

    public static final String RBCS_PREFIX = "rbcs-";
    public static final String RBCS_CONFIG_PREFIX = "config-";
    public static final String RBCS_CONFIG = RBCS_PREFIX + RBCS_CONFIG_PREFIX;
    public static final String RBCS_MULTIPLE_OPTIONS_CONFIG = RBCS_PREFIX + "multiple-options-config-";
    public static final String RBCS_ASSOCIATION_STATE_DETAILS = RBCS_PREFIX + "state-details";
    public static final String RBCS_ASSOCIATE_SUFFIX = "associate";
    public static final String RBCS_ASSOCIATE = RBCS_PREFIX + RBCS_ASSOCIATE_SUFFIX;// values: 0 or empty no association, 1 regular association, 2 dynamic rubric in Samigo
    public static final String RBCS_LIST_SUFFIX = "rubricslist";
    public static final String RBCS_LIST = RBCS_PREFIX + RBCS_LIST_SUFFIX;
    public static final String RBCS_SOFT_DELETED = RBCS_PREFIX + "soft-deleted";
    public static final String RBCS_ASSESSOR_ID = "assessorId";
    public static final String RBCS_HAS_ASSOCIATED_RUBRIC = "hasAssociatedRubric";
    public static final String RBCS_STUDENT_SELF_REPORT = "studentSelfReport";
    public static final String RBCS_STUDENT_SELF_REPORT_MODE = "studentSelfReportMode";

    public static final String RBCS_PERMISSIONS_EVALUATOR = "rubrics.evaluator";
    public static final String RBCS_PERMISSIONS_EDITOR = "rubrics.editor";
    public static final String RBCS_PERMISSIONS_EVALUEE = "rubrics.evaluee";
    public static final String RBCS_PERMISSIONS_MANAGER_VIEW = "rubrics.manager.view";
    public static final String RBCS_PERMISSIONS_PREFIX = "rubrics";

    public static final String RBCS_EXPORT_PDF = "rubrics.export.pdf";

    //samigo custom props
    public static final String RBCS_PUBLISHED_ASSESSMENT_ENTITY_PREFIX = "pub.";

    //forums custom props
    public static final String RBCS_FORUM_ENTITY_PREFIX = "for.";
    public static final String RBCS_TOPIC_ENTITY_PREFIX = "top.";

    public static final String LINE_SEPARATOR = System.getProperty("line.separator");
}
